#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
  for (int i = 1; i <= 6; i++)
  {
    for (int j = 1; j <= i; j++)
      cout << setw(3) << j;
    cout << endl;
  }

  return 0;
}
